from django.conf.urls import url
from django.contrib import admin
from  . import  views



urlpatterns = [
    url(r'^areas/$', views.AreasView.as_view()),
    url(r'^areas/(?P<pk>\d+)/$', views.AreaView.as_view()),
    url(r"^addresses/$",views.AddressView.as_view()),
    url(r'^addresses/(?P<pk>\d+)/', views.AddressView.as_view())

]